<template>
	<div class="consignation_table" id="consignation_table">
		<h1>当前委托</h1>
		<workarea></workarea>
		<h1 class="his_title">历史委托</h1>
		<workarea></workarea>
	</div>
</template>

<script>
	import workarea from './work_area'
	export default {
		name: 'consignation_table',
		computed: {
			
		},
		data() {
			return {
				title: '',
				trade_index: 1,
			}
		}, //定义变量
		components: {
			workarea
		}, //注册组件
		methods: { //方法都在这里
			trade: function(index) {
				this.trade_index = index;
			}
		},
		mounted() {
			var that = this;
			//获取banner
		},
	}
</script>

<style lang="scss">
	.consignation_table{
		text-align: left;
		h1{
			text-align: left;
			font-size: 24px;
			font-weight: normal;
			background:#ECECEC;
			padding:15px 0 15px 60px;
			margin-bottom:20px;
		}
		.his_title{
			margin-top:80px;
		}
	}
</style>